package com.ywm.common.constants;

import java.math.BigDecimal;


public class Constants {

	/**
	 * 默认编码
	 */
	public static final String CHARSET_UTF8 = "UTF-8";

	/**
	 * 分隔符
	 */
	public static final String SPLIT = "|";
	
	/**
	 * token
	 */
	public static final String TOKEN = "token";
	
	/**
	 * 用户数据
	 */
	public static final String USER_DATA = "tokenData";
	
	/**
	 * 签名
	 */
	public static final String SIGN = "sign";

	/**
	 * 分页大小
	 */
	public static final Integer PAGE_SIZE = 20;

	/**
	 * 起始页 
	 * */
	public static final Integer PAGE_NO = 1;

	/**
	 * 短信验证码长度
	 * */
	public static final Integer SMS_CODE_LENGTH = 6;

	/**
	 * 状态 0
	 */
	public static final Integer STATUS_ZERO = 0;

	/**
	 * 状态 1
	 */
	public static final Integer STATUS_ONE = 1;

	/**
	 * 状态 2
	 */
	public static final Integer STATUS_TWO = 2;

	/**
	 * 状态 3
	 */
	public static final Integer STATUS_THREE = 3;

	/**
	 * 状态 4
	 */
	public static final Integer STATUS_FOUR = 4;

	/**
	 * 短信过期时间-分钟
	 */
    public static final Integer SMS_EXPIRE_MINUTE = 5;

	/**
	 * zip压缩文件后缀
	 */
	public static final String ZIP_FILE_SUFFIX = ".zip";
	
	/**
	 * 单笔交易额最高限制
	 */
	public static final BigDecimal  TRADE_MAX_AMOUNT = new BigDecimal("9999999");
}
